<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      body{
        background-color: skyblue;
      }
    </style>
  </head>
  <body>
    
    <script>
      // let red = {
      //   uname: "郭保坤",
      //   age: 88,
      //   gender: "nv",
      //   tiao: function () {
      //     alert("卖假药");
      //   },
      // };
      // console.log(red.tiao());

      // let goods = {
      //   name:'小米10 青春版',
      //   num:'400820820',
      //   weight:'0.55kg',
      //   address:'中国大陆'
      // }
      // console.log(goods)

      let goods = {
        name: "iPhone14 Pro Max",
        num: "1367287",
        weight: "300g",
        address: "USA",
      };
      goods.num = "19918859003";
      goods.red = "红色高跟鞋";
      goods.pink = "骚粉";
      goods.skyblue = "天空绿";
      delete goods.num;
      goods.saozi='purple'
      console.log(goods);
      document.write(goods.name)
      document.write('<br>')
      document.write(goods.num)
      document.write('<br>')
      document.write(goods.weight)
      document.write('<br>')
      document.write(goods.address)
      document.write('<br>')
      document.write(goods.pink)
      document.write('<br>')
      document.write(goods.skyblue)
      document.write('<br>')
      
    </script>
  </body>
</html>
